package com.bq.server.tree;

import java.util.Collection;

/**
 * json序列化接口
 *
 * @author: ChenSH
 * @date: Create by in 11:09 上午 2020/1/7
 */
public interface JsonSerializable<T> {

    T getData();

    Collection<? extends TreeNode<T>> getChildren();

    boolean isHasChildren();
}
